<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>相片管理</title>
<script type="text/javascript" src="/Public/js/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="/Public/bootstrap/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="/Public/bootstrap/css/bootstrap.css">
<link rel="stylesheet" href="/Public/bootstrap/css/bootstrap-responsive.css">
<link rel="stylesheet" href="/theme/default/css/common.css">
<link rel="stylesheet" href="/theme/default/css/facesbaby-theme.css">
<style type="text/css">
fieldset legend{
padding-left:0	
}
.label_set{
width:80px;
text-align:left;
}
</style>
<script type="text/javascript" src="/Public/data/DataLabel.js"></script>
</head>

<body>
<include file="./template/default/Public/nav.html" />
<div class="row">
<div class="span8">
<form method="post" action="/index.php?s=/Home/Albums/SaveDefaultBaby" class="form-horizontal">
<volist name="result_fb" id="rs">
<fieldset>
<legend><h3>{$rs['baby_realname']}</h3></legend>

<div class="control-group">
	<label class="control-label">设置默认</label>
    <div class="controls">
    <?php
if($_SESSION['session_babyid']==$rs['baby_id']){
	echo '<label><input type="radio" checked="checked" name="baby_default_chk" value="'.$rs['baby_id'].'" ></label>';
}else{
	echo '<label><input type="radio" name="baby_default_chk" value="'.$rs['baby_id'].'"></label>';
}
?>
    </div>
</div>
<div class="control-group">
            <label class="control-label">性别</label>
            <div class="controls">
              {$rs['baby_sex']}
            </div>
          </div>
<div>
<div class="control-group">
            <label class="control-label" for="disabledInput">出生日期</label>
            <div class="controls">
              <?php echo date("Y-m-d",$rs['baby_borndate']);?>
            </div>
          </div>

</div>
</fieldset> 
</volist> 
<div class="form-actions">
            <button type="submit" class="btn btn-primary">保存修改</button>
</div>

</form>
</div>
</div>
  
<include file="./template/default/Public/footer.html" />   
</body>
</html>